Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

170
Views
Website becomes unresponsive during calculations which are there in code. But starts working when calculation is done? [JavaScript]

My code contains the calculations which cannot be broken down into number of small calculations (Permutation generation code)

Its taking some time and hence page shows that the website has gone unresponsive.

But when the calculation is completed, that alert closes and it shows the correct result.

Now, How can I get rid of that alert? (it is in javascript)

Please help!!!

about 4 years ago · Juan Pablo Isaza
1 answers
Answer question

0

You can use Web Worker, A web worker is a JavaScript running in the background, without affecting the performance of the page.

https://www.w3schools.com/html/html5_webworkers.asp

about 4 years ago · Juan Pablo Isaza Report
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!